package A1_4;

public class WireTransfer implements Payment{
    private String bankID;
    private String bankName;
    private double amount;

    public WireTransfer(String bankID, String bankName, double amount) {
        this.bankID = bankID;
        this.bankName = bankName;
        this.amount = amount;
    }

    @Override
    public double getAmount() {
        return amount;
    }
}
